package com.twobu.twobuinsight.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "任务历史DTO")
public class TaskHistoryDTO {

    @Schema(description = "任务ID")
    private String taskId;

    @Schema(description = "用户ID")
    private String userId;

    @Schema(description = "用户指令")
    private String userInstruction;

    @Schema(description = "行业领域")
    private String domain;

    @Schema(description = "AI模型")
    private String model;

    @Schema(description = "开始日期")
    private String fromDate;

    @Schema(description = "结束日期")
    private String toDate;

    @Schema(description = "研究深度")
    private String deep;

    @Schema(description = "任务状态")
    private String status;

    @Schema(description = "创建时间")
    private LocalDateTime createTime;

    @Schema(description = "完成时间")
    private LocalDateTime finishTime;

    @Schema(description = "任务结果摘要")
    private String resultSummary;
}
